home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / opcodes / configure.bat < prev    next >
DOS Batch File  |  1994-07-20  |  628b  |  22 lines

  1. @echo off
  2. echo Configuring opcodes for go32
  3. rem This batch file assumes a unix-type "sed" program
  4.  
  5. echo # Makefile generated by "configure.bat"> Makefile
  6.  
  7. if exist config.sed del config.sed
  8.  
  9. echo "/\.o[     ]*:/ s/config.status//            ">> config.sed
  10. echo "s/CC = cc/CC = gcc/                ">> config.sed
  11.  
  12. echo "/^###$/ i\                    ">> config.sed
  13. echo "BFD_MACHINES=i386-dis.o\                ">> config.sed
  14. echo "ARCHDEFS=-DARCH_i386                ">> config.sed
  15.  
  16. echo "s/^[     ]*rm/    -rm/                ">> config.sed
  17.  
  18. sed -e "s/^\"//" -e "s/\"$//" -e "s/[     ]*$//" config.sed > config2.sed
  19. sed -f config2.sed Makefile.in >> Makefile
  20. del config.sed
  21. del config2.sed
  22.